#include<stdio.h>
int main(int argc,char *argv[])
{
	long long int n,m;
	scanf("%lld %lld",&n,&m);
	if((n/m)%2==0)
	{
		printf("NO\n");
	}
	else
	{
		printf("YES\n");
	}
	return 0;
}
